All tags
Posts tagged with "System Architecture"
Why ALSA Loopback Can't Capture Audio on Amlogic S905X4
ALSA loopback on S905X4 captures silence because the Amlogic Audio HAL intercepts PCM before it reaches the hardware pins, routing it through Dolby MS12 via an internal SPDIF path invisible to ALSA.
為什麼 ALSA Loopback 在 Amlogic S905X4 上抓不到音訊
在 S905X4 上用 ALSA Loopback 做音訊擷取,結果只有靜音。問題不在 loopback 硬體,而是 Amlogic Audio HAL 在 PCM 到達硬體腳位之前就把音訊轉進 Dolby MS12,走了一條 ALSA 看不到的內部 SPDIF 路徑到 HDMI TX。
SELinux Multi-SoC Policy Architecture: From Pitfalls to Design Contracts
When an Android platform supports multiple chipsets, the layered design of SELinux policy determines the ceiling of maintenance cost. This post walks through the three-layer protection model, common directory layout traps, and how to govern cross-SoC sepolicy with contracts instead of folders.
SELinux Multi-SoC 策略架構:從踩坑到設計契約
在 Android 平台上支援多個晶片組時,SELinux policy 的分層設計決定了維護成本的上限。這篇文章從實戰踩坑出發,拆解三層保護模型、目錄切法的常見陷阱,以及如何用「契約」而非「資料夾」來治理跨 SoC 的 sepolicy。
247GB 的 Codebase,一個 AI,和一堆踩過的坑
當你的 AOSP codebase 大到人腦裝不下,Claude Code + 自建 MCP server 能幫到什麼程度?這是我從「能動就好」到 16 個工具的完整過程,包括哪些假設被打臉。